home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / pdselect / awnp / awnp-docs / data_conversion.doc < prev    next >
Text File  |  2000-02-16  |  2KB  |  67 lines

  1. Data Conversion
  2. ----------------
  3.  
  4. The data passing through the pipe may be modified by the pipe as follows.
  5.  
  6. H option
  7. ========
  8.  
  9. html conversion - some special characters are translated into html tokens such as < This must be specified on the file handle that does the write.
  10.  
  11.  
  12. copy ram:test AWNPipe:test/h
  13. copy AWNPipe:test ram:test2
  14.  
  15.  
  16. G option
  17. ========
  18.  
  19. The same as the H option above, except that any special html character preceded by an '@' is not converted. The preceding '@' is removed during the translation process.
  20.  
  21. U option
  22. ========
  23.  
  24. UNhtml conversion - some html tokens such as < are translated into special character. This must be specified on the file handle that does the writing.
  25.  
  26. copy ram:test AWNPipe:test/u
  27. copy AWNPipe:test ram:test2
  28.  
  29. P option
  30. ========
  31.  
  32. AWebPost conversion - some special characters are translated into standard ascii. This must be specified on the file handle that does the writing.
  33.  
  34. copy ram:test AWNPipe:test/p
  35. copy AWNPipe:test ram:test2
  36.  
  37. B option
  38. ========
  39.  
  40. backwards blocks - characters read from a pipe are returned in reverse order of the writes. This is in blocks of characters. This must be specified on the file handle that does the reading.
  41.  
  42. copy ram:test AWNPipe:test/p
  43. copy AWNPipe:test ram:test2
  44.  
  45. writes .....
  46.  
  47. hello
  48. world
  49. 1
  50. 2
  51. 3
  52.  
  53. reads as
  54.  
  55. 321worldhello
  56.  
  57. Funny things can happen if you read before all writes are completed.
  58.  
  59. O option
  60. ========
  61.  
  62.  Adds the text '<option>' after every '0a'x . I use it in AWebNews.
  63.  
  64. copy ram:test AWNPipe:test/o
  65. copy AWNPipe:test ram:test2
  66.  
  67.